package com.u.social.article.service;

import com.u.social.article.entity.ArticleComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.u.social.article.model.CommentDTO;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Alex Wu
 * @since 2025-02-24
 */
public interface IArticleCommentsService extends IService<ArticleComments> {

    @Transactional(rollbackFor = Exception.class)
    Boolean saveComment(CommentDTO commentDTO);
}
